Ext.define('Gnt.examples.advanced.store.CrudManager', {
    extend: 'Gnt.data.CrudManager',
    alias: 'store.advanced-crudmanager',
    autoLoad: true,
    taskStore: 'tasks',
    transport: {
        load: {
            method: 'GET',
            paramName: 'q',
            url: '/api/services/app/gantt/GetGannts?projectId=' + _projectId
            //requestConfig: {
            //    success: function (response)
            //    {
            //        var requestJson = Ext.util.JSON.decode(response.responseText);
            //    }
            //}
        },
        sync: {
            method: 'POST',
            url: '/api/services/app/gantt/Sync?projectId=' + _projectId
        }
    }
});
